Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Add CAPTCHA to Stripe payment processing #111

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Add CAPTCHA to Stripe payment processing #111

wants to merge 8 commits into from

Conversation

ghost
Copy link

@ghost ghost commented May 22, 2019

Discussion: https://discuss.noisebridge.info/t/weird-activity-on-stripe/836

. . .

Things to get this working:

  • apt-get install ghostscript (or whatever package manager on prod)
  • apt-get install imagemagick (or whatever package manager on prod)
  • database migration: rake db:migrate

That should be it?

I don't know Ruby / Rails all that well, but code and the above steps worked on my Ubuntu server ™

. . .

EDIT: Additional info:

I've opted to go for a "simple captcha" using an image (vs Google's reCAPTCHA) for the sake of speed getting this out & not having to go through Google.

Screen cap of the new simple CAPTCHA:

@ghost
Copy link
Author

ghost commented May 22, 2019

Tagging some potential reviewers: @danhimalplanet @SuperQ @lazzarello ~

Don't have access to the prod server or Travis. It could be the new server packages required for the CAPTCHA generation (ghostscript / imagemagick) or the migration failing? Couldn't find a great debug output in the Travis UI.

@ruthgrace
Copy link
Contributor

I am for this change! But it looks like there are missing environment variables causing the build to fail. Is this because it was migrated off of ratchet? (maybe you know, @SuperQ @rizend or @marcidy ?)

@marcidy
Copy link

marcidy commented May 23, 2019 via email

@ruthgrace
Copy link
Contributor

ruthgrace commented May 23, 2019 via email

@marcidy
Copy link

marcidy commented May 23, 2019 via email

@marcidy
Copy link

marcidy commented May 23, 2019 via email

@marcidy marcidy mentioned this pull request May 23, 2019
@marcidy
Copy link

marcidy commented May 23, 2019 via email

@ruthgrace
Copy link
Contributor

ruthgrace commented May 23, 2019 via email

@ghost
Copy link
Author

ghost commented May 23, 2019

Thanks for participating in this PR @marcidy & @ruthgrace --- I'm on other code bases till Monday, but if there's anything minor feel free to ping me / add commits to this PR / make a new PR based on this one / whateva.

Seems like infrastructure woes at this point. Best of luck!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants